<?php
    include "TopSdk.php";
    date_default_timezone_set('Asia/Shanghai'); 
    $appkey = "23390336";
	$secret = "f3267c316dfae7ffc530771e646dd7a7";
	$code   =  '123456';
	$c = new TopClient;
	$c ->appkey = $appkey ;
	$c ->secretKey = $secret ;
	$c ->format = 'json' ;
	$c ->simplify = true ;
	$req = new AlibabaAliqinFcSmsNumSendRequest;
	$req ->setExtend( "" );
	$req ->setSmsType( "normal" );
	$req ->setSmsFreeSignName( "短信通知测试" );//签名
	$req ->setSmsParam( "{code:'{$code}'}" ); //消息
	$req ->setRecNum( "18252995679" );//接收手机
	$req ->setSmsTemplateCode( "SMS_22235041" );//模板
	$resp = $c ->execute( $req );

	$ret = json_decode( json_encode( $resp),true);
    
    if(array_key_exists(code, $ret)){
    	
    }


?>